package com.docking.heylo.dao.mapper;

import com.docking.heylo.dao.entity.ApertureSerach;
import com.docking.heylo.dao.entity.ApertureSerachExample;

import java.math.BigDecimal;
import java.util.List;

import com.docking.heylo.dao.entity.UserApertureSet;
import org.apache.ibatis.annotations.Param;

public interface ApertureSerachMapper {
    long countByExample(ApertureSerachExample example);

    int deleteByExample(ApertureSerachExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(ApertureSerach record);

    int insertSelective(ApertureSerach record);

    List<ApertureSerach> selectByExample(ApertureSerachExample example);

    ApertureSerach selectByPrimaryKey(Integer userId);

    int updateByExampleSelective(@Param("record") ApertureSerach record, @Param("example") ApertureSerachExample example);

    int updateByExample(@Param("record") ApertureSerach record, @Param("example") ApertureSerachExample example);

    int updateByPrimaryKeySelective(ApertureSerach record);

    int updateByPrimaryKey(ApertureSerach record);

    List<Integer> selectBySet(@Param("set") UserApertureSet set, @Param("userId") int userId,
                              @Param("lat") BigDecimal lat, @Param("lon") BigDecimal lon);





}